<?php
/**
 * Created by PhpStorm.
 * User: 27598
 * Date: 2019/6/20
 * Time: 14:25
 */

namespace App\Helpers;
use Modules\Admin\Entities\ScoreConfig;
use Modules\Common\Entities\User;
use Modules\Manage\Entities\ScoreLog;
use Modules\Manage\Entities\SignInLog;
use Psy\Util\Str;
use Symfony\Component\HttpFoundation\Response as FoundationResponse;
trait Commons
{
    //用户注册
    public function cmf_password($request,$salt)
    {
        return md5(md5($request->password) . $salt);
    }

}
